package org.xfy.sys.service;

import org.xfy.base.util.AjaxResult;
import org.xfy.sys.domain.Role;
import org.xfy.base.service.IBaseService;
import org.xfy.sys.domain.dto.RoleDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xfy
 * @since 2023-11-06
 */
public interface IRoleService extends IBaseService<Role> {
    void add(RoleDto role);

    void del(Long id);

    void update(RoleDto role);

    AjaxResult getPermissionByroleId(Long roleId);

    AjaxResult getMenu(Long roleId);
}
